package com.street.dto;

import com.street.entity.OrderDetail;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class OrderDTO implements Serializable {

    private Integer id;

    //订单号
    private String number;

    //订单状态 1待付款 2待接单 3已接单 4已完成 5已取消 6退款
    private Integer status;

    //下单用户id
    private Long userId;

    //商户id
    private Long shopId;

    //下单时间
    private LocalDateTime orderTime;

    //结账时间
    private LocalDateTime checkoutTime;

    //实收金额
    private BigDecimal amount;

    //备注
    private String remark;

    //用户名
    private String userName;

    //手机号
    private String phone;


    private List<OrderDetail> orderDetails;

}
